import store from '@/store'
export function hasPermission (code) {
  return store.state.user.userInfo.roles.points.includes(code)
}
